<?php
defined('SYS_RUN') or exit();

class Service_Test extends AService {

    public function test() {
//        return $result = $this->connector->get('index', 'index');
//        for($i = 0; $i <= 10; $i++) {
//            $timeStart = microtime();
//            $result = $this->connector->get('index', 'index', array(
//                'var1'  => $i,
//                'var2'  => 'Hello world. Key:'.$i,
//                'var3'  => 'Hello world. Key:'.$i,
//                'var4'  => 'Hello world. Key:'.$i
//            ));
//            $timeEnd = microtime();
//            echo 'Query delay: '.($timeEnd - $timeStart).'ms. <br/>';
//            echo nl2br(print_r($result, true));
//        }
    }
}